package com.unalm.examensustitutorio.util.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the tb_detalle_notas database table.
 * 
 */
@Entity
@Table(name="tb_detalle_notas")
public class EDetalleNota implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private EDetalleNotaPK id;

	@Column(name="EST_PROM")
	private int int_estProm;

	@Column(name="EST_REG")
	private int int_estReg;

	@Column(name="NOTA_1")
	private double dbl_nota1;

	@Column(name="NOTA_2")
	private double dbl_nota2;

	@Column(name="NOTA_3")
	private double dbl_nota3;

	@Column(name="PROM")
	private double dbl_prom;

	//bi-directional many-to-one association to Alumno
    @ManyToOne
	@JoinColumn(name="COD_ALUM")
	private EAlumno tbAlumno;

	//bi-directional many-to-one association to Curso
    @ManyToOne
	@JoinColumn(name="COD_CURSO")
	private ECurso tbCurso;

    public EDetalleNota() {
    }

	public EDetalleNotaPK getId() {
		return this.id;
	}

	public void setId(EDetalleNotaPK id) {
		this.id = id;
	}
	
	public int getInt_estProm() {
		return this.int_estProm;
	}

	public void setInt_estProm(int int_estProm) {
		this.int_estProm = int_estProm;
	}

	public int getInt_estReg() {
		return this.int_estReg;
	}

	public void setInt_estReg(int int_estReg) {
		this.int_estReg = int_estReg;
	}

	public double getDbl_nota1() {
		return this.dbl_nota1;
	}

	public void setDbl_nota1(double dbl_nota1) {
		this.dbl_nota1 = dbl_nota1;
	}

	public double getDbl_nota2() {
		return this.dbl_nota2;
	}

	public void setDbl_nota2(double dbl_nota2) {
		this.dbl_nota2 = dbl_nota2;
	}

	public double getDbl_nota3() {
		return this.dbl_nota3;
	}

	public void setDbl_nota3(double dbl_nota3) {
		this.dbl_nota3 = dbl_nota3;
	}

	public double getDbl_prom() {
		return this.dbl_prom;
	}

	public void setDbl_prom(double dbl_prom) {
		this.dbl_prom = dbl_prom;
	}

	public EAlumno getTbAlumno() {
		return this.tbAlumno;
	}

	public void setTbAlumno(EAlumno tbAlumno) {
		this.tbAlumno = tbAlumno;
	}
	
	public ECurso getTbCurso() {
		return this.tbCurso;
	}

	public void setTbCurso(ECurso tbCurso) {
		this.tbCurso = tbCurso;
	}
	
}